package com.example.freemarker.utils;

import freemarker.template.TemplateMethodModelEx;
import freemarker.template.TemplateModelException;

import java.util.Date;
import java.util.List;

/**
 * @Classname GetDate
 * @Description TODO
 * @Date 2022/8/7 20:51
 * @Created by XiongXiong
 * @Author: X.I.O
 */
public class GetDate implements TemplateMethodModelEx {


    @Override
    public Object exec(List arguments) throws TemplateModelException {
        return new Date();
    }
}
